﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MeterRpt.aspx.cs" Inherits="CostManage_MeterRpt" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>电费报表</title>
    <script type="text/javascript" src="../Scripts/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="../Scripts/jquery-ui-1.9.2.custom.min.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.bgiframe.js"></script> 
    <script type="text/javascript" src="../Scripts/My97DatePicker/WdatePicker.js"></script> 
    <link rel="Stylesheet" href="../Content/redmond/jquery-ui-1.9.2.custom.min.css" />
    <link rel="stylesheet" href="../Content/SysManage.css" type="text/css" />  
    <script type="text/javascript" src="../Scripts/CostManage/MeterRpt.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="conditionDiv" class="ui-corner-all ContentDiv">
            <p>
                <label for="Dep_A" class="lTitle">
                    区域：</label>
                <asp:DropDownList ID="Dep_A" runat="server" Enabled="false" CssClass="ui-widget-content">
                </asp:DropDownList>
                <label for="MeterWay_A" class="lTitle" style="margin-left:85px">
                    供电方式：</label>
                <asp:DropDownList ID="MeterWay_A" runat="server" CssClass="ui-widget-content" Width="88">
                    <asp:ListItem Text="直供电" Value="直供电" Selected="True"></asp:ListItem>
                    <asp:ListItem Text="转供电" Value="转供电"></asp:ListItem>
                </asp:DropDownList>
            </p> 
            <p>
                <label for="Month_A" class="lTitle">
                    月份：</label>
                <asp:TextBox ID="Month_A" runat="server" CssClass="text ui-widget-content Wdate" Width="90"
                    AutoCompleteType="Disabled"></asp:TextBox>                
            </p>
            <p style="text-align: right; padding: 5px;">
                <asp:Button ID="Query" runat="server" Text="开始查询" CssClass="search" OnClick="Query_Click" />
            </p>
        </div>
        <div class="ContentDiv">
        <fieldset class="ui-grid-a" id="ReportBox">
        <legend>基站电费一览</legend>
        <div id="ReportDiv">
            <asp:GridView ID="Report" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！"
                Width="100%" CssClass="ui-widget ui-widget-content">
               <HeaderStyle CssClass="ui-widget-header" />
               <RowStyle HorizontalAlign="Right" />
                <Columns>
                    <asp:BoundField DataField="ORGAN" HeaderText="区域" />
                    <asp:BoundField DataField="METER_NOW" HeaderText="本月电量" />
                    <asp:BoundField DataField="LAST_METER" HeaderText="上月电量" />
                    <asp:BoundField DataField="METERQoQ" HeaderText="环比"/>
                    <asp:BoundField DataField="LOSS_METER" HeaderText="变损合计"/>
                    <asp:BoundField DataField="REALPAY" HeaderText="报账费用" />
                    <asp:BoundField DataField="CellNum" HeaderText="报账数量"/>
                </Columns>
            </asp:GridView>
        </div>
        </fieldset></div>
        <div class="ContentDiv">
        <fieldset class="ui-grid-b" id="DetailBox">
        <legend>基站电费明细</legend>
        <div id="DetailDiv">
            <asp:GridView ID="MeterDetail" runat="server" AutoGenerateColumns="False" EmptyDataText="对不起,未找到相关数据！"
                Width="100%" CssClass="ui-widget ui-widget-content">
               <HeaderStyle CssClass="ui-widget-header" />
               <RowStyle HorizontalAlign="Right" />
                <Columns>
                    <asp:BoundField DataField="ORGAN" HeaderText="区域" />
                    <asp:BoundField DataField="ORDER_NO" HeaderText="单号" />
                    <asp:BoundField DataField="PHYSICAL_NAME" HeaderText="物理站点" />
                    <asp:BoundField DataField="METER_NOW" HeaderText="当月电量" />
                    <asp:BoundField DataField="LAST_METER" HeaderText="上月电量" />
                    <asp:BoundField DataField="METERQoQ" HeaderText="环比"/>
                    <asp:BoundField DataField="LOSS_METER" HeaderText="变损电量"/>
                    <asp:BoundField DataField="REALPAY" HeaderText="报账费用" />
                </Columns>
            </asp:GridView>
         <div style="text-align: right; padding: 5px;">
                <webdiyer:AspNetPager ID="DetailPager" runat="server" OnPageChanged="DetailPager_PageChanged">
                </webdiyer:AspNetPager>
            </div>
        </div>
        </fieldset></div>
    </form>
</body>
</html>
